package com.wing.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.product.model.entity.ProcessLineTemplate;
import com.wing.product.model.entity.ProcessLineTemplateRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 工艺线路-工序-Dao
 *
 * @author xiayang
 */
@Mapper
public interface ProcessLineTemplateRecordDao extends BaseMapper<ProcessLineTemplateRecord> {
    /**
     * 工艺线路-工序列表
     *
     * @param page
     * @param params
     * @return
     */
    List<ProcessLineTemplateRecord> list(@Param("page") Page<ProcessLineTemplateRecord> page, @Param("params") Map<String, Object> params);
}
